import PropTypes from 'prop-types'
import React from 'react'
import IconButton from '@material-ui/core/IconButton';
import Tooltip from '@material-ui/core/Tooltip';
const InfoButton = ({ onClick }) => (
<Tooltip title={'Info'}>
  <IconButton variant="outlined" className='control-infoButton' onClick={e => onClick(e)}>
    <img className='infoButton' src='../resources/icon/icon-info.svg' />
  </IconButton></Tooltip>
)

InfoButton.propTypes = {
  onClick: PropTypes.func.isRequired
}

export default InfoButton;// CSSModules(InfoButton, styles)
